<form id="add-form" class="form-horizontal" role="form" data-toggle="validator" method="POST" action="">

    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('所属主题')}:</label>
        <div class="col-xs-12 col-sm-8">
         
                  <div class="form-inline" data-toggle="cxselect" data-selects="first,second">
                      <select class="first form-control" name="row[ppid]" data-url="problem3/class_showcase?type=0">
                          
                      </select>
                      
                     <select class="second form-control" name="row[pid]" data-url="problem3/class_showcase?type=1" data-query-name="pid"></select>
                      <!--<select class="second form-control" name="second" data-url="showcasedeatype/class_showcase?type=1" data-query-name="pid"></select>-->
                </div>
        </div>
    </div>
    
 
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Title')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-title" class="form-control" name="row[title]" type="text" value="1">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Content')}:</label>
        <div class="col-xs-12 col-sm-8">
            <textarea class=" form-control textarea editor" name="row[content]" id= rows="8" cols="40"></textarea>
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Weigh')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-weigh" class="form-control" name="row[weigh]" type="text" value="1">
        </div>
    </div>
    <div class="form-group layer-footer">
        <label class="control-label col-xs-12 col-sm-2"></label>
        <div class="col-xs-12 col-sm-8">
            <button type="submit" class="btn btn-primary btn-embossed disabled">{:__('OK')}</button>
        </div>
    </div>
</form>
